INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/CoOS/kernel/
						${PROJECT_SOURCE_DIR}/src/CoOS/portable/)
						
SET(SRC_LIST kernel/core.c
			kernel/event.c
			kernel/flag.c
			kernel/hook.c
			kernel/kernelHeap.c
			kernel/mbox.c
			kernel/mm.c
			kernel/mutex.c
			kernel/queue.c
			kernel/sem.c
			kernel/serviceReq.c
			kernel/task.c
			kernel/time.c
			kernel/ostimer.c
			kernel/utility.c
			portable/arch.c
			portable/GCC/port.c
				)

ADD_LIBRARY(CoOS STATIC ${SRC_LIST})